<?php


namespace app\cms\dto;


use iflow\Container\implement\annotation\tools\data\NotNull;

class carouselInfo
{
    public int $carousel_id = 0;
    #[NotNull(error: '请选择轮播图类目')]
    public int $carousel_group_id = 0;
    #[NotNull(error: '轮播图名称不能为空')]
    public string $carousel_name = '';
    #[NotNull(error: '轮播图文件不能为空')]
    public string $carousel_image = '';
    public string $carousel_url = '';
}